package com.zpark.web.listener;

import javax.servlet.ServletContextListener;
import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;
import javax.servlet.annotation.WebListener;
import javax.servlet.http.HttpSessionListener;

/**
 * @PackageName: com.zpark.web.listener
 * @ClassName: MyListener01
 * @Description:
 * @author: RZS
 * @date: 2022/9/27  10:21
 */
@WebListener
public class MyListener01 implements ServletRequestListener {
    @Override
    public void requestDestroyed(ServletRequestEvent sre) {
        System.err.println("销毁请求对象");
    }

    @Override
    public void requestInitialized(ServletRequestEvent sre) {
        System.err.println("请求对象创建成功");
    }
}
